package com.ruoyi.ora.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模式配置对象 ora_custom_model
 * 
 * @author liuwp
 * @date 2025-03-19
 */
public class CustomModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 模式名称 */
    @Excel(name = "模式名称")
    private String modelName;

    /** 模式配置 */
    @Excel(name = "模式配置")
    private String modelConfig;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setModelConfig(String modelConfig) 
    {
        this.modelConfig = modelConfig;
    }

    public String getModelConfig() 
    {
        return modelConfig;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelName", getModelName())
            .append("modelConfig", getModelConfig())
            .append("createTime", getCreateTime())
            .append("deviceId", getDeviceId())
            .append("remark", getRemark())
            .toString();
    }
}
